/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.Sheets*/
public class Sheets extends JavaScriptObject {

	protected Sheets() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Object add( Object before,  Object after,  Object count,  Object type)/*-{
		return this.Add( before, after, count, type);
	}-*/;

	public native final void copy( Object before,  Object after)/*-{
		this.Copy( before, after);
	}-*/;

	public native final int getCount()/*-{
		return this.Count;
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final void fillAcrossSheets(Range range, int type)/*-{
		this.FillAcrossSheets( range, type);
	}-*/;

  public final Worksheet getItem(int index) {
    return _getItem(index);
  }

  public final Worksheet getItem(String name) {
    return _getItem(name);
  }

	private native final Worksheet _getItem( Object index)/*-{
		return this.Item( index);
	}-*/;

	public native final void move( Object before,  Object after)/*-{
		this.Move( before, after);
	}-*/;

	public native final void __PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate)/*-{
		this.__PrintOut( from, to, copies, preview, activePrinter, printToFile, collate);
	}-*/;

	public native final void printPreview( Object enableChanges)/*-{
		this.PrintPreview( enableChanges);
	}-*/;

	public native final void select( Object replace)/*-{
		this.Select( replace);
	}-*/;

	public native final HPageBreaks getHPageBreaks()/*-{
		return this.HPageBreaks;
	}-*/;

	public native final VPageBreaks getVPageBreaks()/*-{
		return this.VPageBreaks;
	}-*/;

	public native final JavaScriptObject getVisible()/*-{
		return this.Visible;
	}-*/;

	public native final void setVisible( Object value)/*-{
		this.Visible = value;
	}-*/;

	public native final Object get_Default( Object index)/*-{
		return this._Default( index);
	}-*/;

	public native final void _PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName)/*-{
		this._PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName);
	}-*/;

	public native final void printOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName,  Object ignorePrintAreas)/*-{
		this.PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName, ignorePrintAreas);
	}-*/;

}
